<?php

namespace AppBundle\Entity;

use Doctrine\ORM\Mapping as ORM;

/**
 * P2pAddZengli
 *
 * @ORM\Table(name="p2p_add_zengli", indexes={@ORM\Index(name="u_id", columns={"u_id"})})
 * @ORM\Entity
 */
class P2pAddZengli
{
    /**
     * @var integer
     *
     * @ORM\Column(name="u_id", type="integer", nullable=false)
     */
    private $uId;

    /**
     * @var integer
     *
     * @ORM\Column(name="ide_id", type="integer", nullable=false)
     */
    private $ideId;

    /**
     * @var boolean
     *
     * @ORM\Column(name="az_type", type="boolean", nullable=false)
     */
    private $azType;

    /**
     * @var float
     *
     * @ORM\Column(name="az_amount", type="float", precision=10, scale=2, nullable=false)
     */
    private $azAmount;

    /**
     * @var integer
     *
     * @ORM\Column(name="az_addtime", type="integer", nullable=false)
     */
    private $azAddtime;

    /**
     * @var integer
     *
     * @ORM\Column(name="az_id", type="integer")
     * @ORM\Id
     * @ORM\GeneratedValue(strategy="IDENTITY")
     */
    private $azId;



    /**
     * Set uId
     *
     * @param integer $uId
     *
     * @return P2pAddZengli
     */
    public function setUId($uId)
    {
        $this->uId = $uId;

        return $this;
    }

    /**
     * Get uId
     *
     * @return integer
     */
    public function getUId()
    {
        return $this->uId;
    }

    /**
     * Set ideId
     *
     * @param integer $ideId
     *
     * @return P2pAddZengli
     */
    public function setIdeId($ideId)
    {
        $this->ideId = $ideId;

        return $this;
    }

    /**
     * Get ideId
     *
     * @return integer
     */
    public function getIdeId()
    {
        return $this->ideId;
    }

    /**
     * Set azType
     *
     * @param boolean $azType
     *
     * @return P2pAddZengli
     */
    public function setAzType($azType)
    {
        $this->azType = $azType;

        return $this;
    }

    /**
     * Get azType
     *
     * @return boolean
     */
    public function getAzType()
    {
        return $this->azType;
    }

    /**
     * Set azAmount
     *
     * @param float $azAmount
     *
     * @return P2pAddZengli
     */
    public function setAzAmount($azAmount)
    {
        $this->azAmount = $azAmount;

        return $this;
    }

    /**
     * Get azAmount
     *
     * @return float
     */
    public function getAzAmount()
    {
        return $this->azAmount;
    }

    /**
     * Set azAddtime
     *
     * @param integer $azAddtime
     *
     * @return P2pAddZengli
     */
    public function setAzAddtime($azAddtime)
    {
        $this->azAddtime = $azAddtime;

        return $this;
    }

    /**
     * Get azAddtime
     *
     * @return integer
     */
    public function getAzAddtime()
    {
        return $this->azAddtime;
    }

    /**
     * Get azId
     *
     * @return integer
     */
    public function getAzId()
    {
        return $this->azId;
    }
}
